home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / MacTCPToolBx / TCP XCMD Docs / card_10271.txt < prev    next >
Text File  |  1989-06-01  |  977b  |  36 lines

  1. -- card: 10271 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Function:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. TCPRecvUpTo(connID,termChar,timeOut,oldString)
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Receive characters from a TCP connection.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. connID
  23. termChar
  24. timeOut
  25. oldString
  26.  
  27. -- part contents for background part 7
  28. ----- text -----
  29. the ID of the TCP connection
  30. character after which to terminate the receive, or empty
  31. number of ticks (1/60ths of a second) to wait, or zero
  32. string of previously received characters
  33.  
  34. -- part contents for background part 4
  35. ----- text -----
  36. This is the principle, and most powerfull TCP receive character function. It inputs character until a particular character is received or until a time-out occurs. TCPRecvUpTo returns both the old string and any new input.